/**
 * Created by zhangsong on 2019/9/22.
 */
import applicationContractor from './application/contractor';
import applicationStaff from './application/staff';
import applicationVehicle from './application/vehicle';
import applicationCommon from './application/common';

const system = {
  // 系統名稱
  name: 'P3910 - Pass Office Application',
};

const httpCode = {
  401: '權限不足',
  403: '登錄失效,請重新登錄',
  404: '頁面不存在',
  502: '系統正在維護,請稍後再試',
};

const button = {
  detail: '查看詳情',
  remove: '刪除',
  update: '修改',
  rollback: '返回',
  save: '保存',
  cancel: '取消',
  close: '關閉',
  clear: '清除',
  preview: '預覽 PDF',
  reset: '重置',
  search: '搜索',
  sure: '確認',
  operator: '操作',
  printing: '打印',
  prevPage: '上一頁',
  nextPage: '下一頁',
  disapproval: '審核不通過',
  approval: '審核通過',
  download: '下載',
  newdownload: '導出資料',
};

const baseInfo = {
  saveSuccess: '保存成功',
  errorTitle: '錯誤',
  askDeleteRecord: '您確定要刪除這條記錄嗎?',
  removeSuccess: '刪除成功',
  all: '全部',
  male: '男',
  female: '女',
  unknown: '未知',
  notFoundPdf: '沒有找到 PDF',
  previewPDF: '預覽 PDF',
  goToList: '返回列表頁面',
  approval: '您確定要審核通過嗎',
  disapproval: '您確定要審核不通過嗎',
  approvalStatus: '審核通過',
  disapprovalStatus: '審核不通過',
  needApprovalStatus: '待審核',
  approvalStatusName: '審核狀態',
  operatorSuccess: '操作成功',
  operatorError: '操作失敗',
  placeholder: '請輸入',
  placeholderChecked: '請選擇',
  createTime: '創建時間',
  updateTime: '修改時間',
  sendsuccess: '發送成功',
  senderror: '發送失敗',
  review: 'review',
  noreview: 'review不通過',
  needreview: '待review',
  approvehistory: '審核記錄',
  actionpeople: '操作人',
  actionstate: '操作狀態',
  actiondate: '操作時間',
  serialnumber: '序號',
  enddate: '合同結束日期',
  reasonfail: '失敗原因',
  totalnum: '總條數:',
  succnum: '成功條數:',
  errornum: '失敗條數:',
};

export default {
  system,
  button,
  baseInfo,
  datetimeFormat: {
    all: 'D/M/YYYY HH:mm:ss',
    date: 'D/M/YYYY',
    time: 'HH:mm',
  },
  httpCode,
  applicationContractor,
  applicationStaff,
  applicationVehicle,
  applicationCommon,
};
